<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MVCWeb.Models.Company>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<title>Edit</title>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h3 style="margin: .15in">Edit</h2>

    <%= Html.ValidationSummary() %>

    <% using (Html.BeginForm()) {%>

        <fieldset>
            <legend>Fields</legend>
            <p>
                <label for="CompanyId">CompanyId:</label>
                <%= Html.TextBox("CompanyId") %>
                <%= Html.ValidationMessage("CompanyId", "*") %>
            </p>
            <p>
                <label for="Name">Name:</label>
                <%= Html.TextBox("Name") %>
                <%= Html.ValidationMessage("Name", "*") %>
            </p>
            <p>
                <label for="PaymentURL">PaymentURL:</label>
                <%= Html.TextBox("PaymentURL") %>
                <%= Html.ValidationMessage("PaymentURL", "*") %>
            </p>
            <p>
                <label for="CompanyUserId">CompanyUserId:</label>
                <%= Html.TextBox("CompanyUserId") %>
                <%= Html.ValidationMessage("CompanyUserId", "*") %>
            </p>
            <p>
                <label for="PayAddress1">PayAddress1:</label>
                <%= Html.TextBox("PayAddress1") %>
                <%= Html.ValidationMessage("PayAddress1", "*") %>
            </p>
            <p>
                <label for="PayAddress2">PayAddress2:</label>
                <%= Html.TextBox("PayAddress2") %>
                <%= Html.ValidationMessage("PayAddress2", "*") %>
            </p>
            <p>
                <input type="submit" value="Save" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%=Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

